<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<title>ComPro Admission</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link href="<c:url value="/resources/style.css"/>" rel="stylesheet"
	type="text/css" />

</head>
<body>

	<%@include file="header.jsp"%>
	<div class="main">
		<div class="body">
			<div class="body_resize">
				<div class="left">
					<br />
					<h2>${title}</h2>
					${msg}

					<h3>&nbsp;</h3>
				</div>
				<c:choose>
					<c:when test="${user.role == 'applicant'}">
						<%@include file="sideuser.jsp"%>
					</c:when>
					<c:when test="${user.role == 'admission'}">
						<%@include file="sideAdmission.jsp"%>
					</c:when>
					<c:otherwise>
						<%@include file="sideAdmission.jsp"%>
					</c:otherwise>
				</c:choose>


			</div>
			<br />
		</div>


		<%@include file="footer.jsp"%>
	</div>
	<div align=center></div>
</body>
</html>
